FROM java:11-jre

MAINTAINER maoxiaodong

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /fresh-hf-biz

WORKDIR /fresh-hf-biz

EXPOSE 8006

ADD ./modules/fresh-hf/fresh-hf-biz/build/libs/fresh-hf-biz-1.0.jar ./

CMD sleep 120;java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar fresh-hf-biz-1.0.jar
